Lucene search
+L
Pyjwt ProjectPyjwt

24 matches found

CVE
CVE
•added 2022/05/24 2:10 p.m.•1173 views

CVE-2022-29217

CVE-2022-29217 affects the Python PyJWT library (jwt handling for RFC 7519). The root cause is algorithm confusion when decoding tokens if the application does not restrict accepted algorithms; allowing unintended verification behavior across signing algorithms. The issue is mitigated by upgradin...

7.5CVSS7.1AI score0.01355EPSS
Save
CVE
CVE
•added 2026/03/12 9:41 p.m.•435 views

CVE-2026-32597

PyJWT prior to 2.12.0 does not validate the crit header (RFC 7515 §4.1.11). If a JWS contains a crit array with extensions PyJWT cannot understand, the library accepts the token instead of rejecting it, violating the MUST requirement. This CVE affects PyJWT and is fixed in version 2.12.0. Remedia...

7.5CVSS6.5AI score0.00273EPSS
Save
CVE
CVE
•added 2026/05/28 3:09 p.m.•345 views

CVE-2026-48526

PyJWT (Python) prior to 2.13.0 did not validate the use of JSON Web Keys in HMAC verification, allowing an attacker to use the issuer public key as the HMAC secret during token verification. This could enable forging tokens when mixing RS/EC/JWK and HS algorithms. The issue is fixed in PyJWT 2.13...

7.4CVSS6.2AI score0.00427EPSS
Save
CVE
CVE
•added 2024/11/29 6:43 p.m.•340 views

CVE-2024-53861

CVE-2024-53861 (pyjwt) : A defect in pyjwt caused by changing the iss check from a list-inclusive approach to a Sequence-based isinstance check; since str is a Sequence, the code may incorrectly evaluate string containment and permit certain values (e.g., "abc" in "abcd "), effectively altering t...

7.5CVSS4.1AI score0.00832EPSS
Save
CVE
CVE
•added 2026/05/28 3:10 p.m.•226 views

CVE-2026-48523

PyJWT vulnerability affecting versions 2.9.0–2.12.1 where verifier-side algorithm allow-list bypass occurs when decoding with a PyJWK/PyJWKClient key. The token header’s alg is checked against the caller-supplied allow-list, but the signature is verified using the algorithm bound to the PyJWK obj...

5.4CVSS5.7AI score0.0017EPSS
Save
CVE
CVE
•added 2026/05/28 3:07 p.m.•197 views

CVE-2026-48524

CVE-2026-48524 affects PyJWT prior to 2.13.0. The issue is in PyJWKClient.get_signing_key(), which can force a fresh HTTP request to the JWKS endpoint for every JWT with an unknown kid value, with no rate limiting. Since the kid is from an unverified token header, an attacker can trigger unlimite...

3.7CVSS5.8AI score0.00321EPSS
Save
CVE
CVE
•added 2026/05/28 3:00 p.m.•186 views

CVE-2026-48522

PyJWKClient in PyJWT prior to 2.13.0 passes its uri argument directly to urllib.request.urlopen(), allowing attacker-controlled jku URLs to trigger SSRF and related token-forgery scenarios via file://, ftp://, or data: schemes. Affected component: PyJWKClient (Python). Root cause: lack of a schem...

4.2CVSS5.9AI score0.0022EPSS
Save
CVE
CVE
•added 2017/08/24 4:00 p.m.•179 views

CVE-2017-11424

CVE-2017-11424 affects PyJWT 1.5.0 and earlier, where the invalid_strings check in HMACAlgorithm.prepare_key fails to account for all PEM public-key formats (notably PKCS1 PEM prefixed with -----BEGIN RSA PUBLIC KEY-----), enabling key confusion attacks that could let an attacker craft JWTs from ...

7.5CVSS7.2AI score0.01804EPSS
Save
CVE
CVE
•added 2026/09/28 8:11 p.m.•171 views

CVE-2026-101918

The PyJWT Python library (versions 2.0.0a1 through 2.15.0 ) is vulnerable to an unhandled RecursionError in the PyJWKClient.get_signing_key_from_jwt function. This occurs because the payload parser catches ValueError but fails to handle RecursionError when processing an attacker-controlled recurs...

7.5CVSS5.9AI score0.00358EPSS
Save
CVE
CVE
•added 2025/07/31 12:00 a.m.•150 views

CVE-2025-45768

The pyjwt v2.10.1 library is affected by CVE-2025-45768 , which involves weak encryption (CWE-311). While the supplier disputes the claim because key length is application-defined, the vulnerability impacts products such as IBM Watson Discovery Cartridge (versions 5.0.0-5.2.1) and Amazon Linux 20...

7CVSS6.6AI score0.00168EPSS
Save
CVE
CVE
•added 2026/09/28 8:48 p.m.•149 views

CVE-2026-102265

The PyJWT Python library (versions 2.13.0 through 2.13.x ) is vulnerable due to a missing exception handler in the PyJWS._load function within jwt/api_jws.py. The parser currently catches ValueError but fails to catch RecursionError, which can be triggered when processing a deeply nested token he...

5.3CVSS6.1AI score0.00301EPSS
Save
CVE
CVE
•added 2026/05/28 3:11 p.m.•121 views

CVE-2026-48525

PyJWT (Python) versions 2.8.0–2.12.1 expose an unauthenticated DoS when verifying detached JWS with the unencoded-payload option (b64: false, RFC 7797). PyJWT decodes the middle payload segment for detached-payload verification, then discards it and replaces it with the caller-provided detached_p...

5.3CVSS5.8AI score0.00415EPSS
Save
CVE
CVE
•added 2026/09/28 8:26 p.m.•112 views

CVE-2026-102268

The PyJWT library (versions prior to 2.14.0 ) contains a vulnerability in jwt/utils.py where the is_pem_format function fails to recognize certain PEM representations accepted by the cryptography loader. This occurs when applications mixing HMAC and asymmetric algorithms provide mutated public-ke...

9.1CVSS7.9AI score0.00202EPSS
SaveWeb
CVE
CVE
•added 2026/09/28 8:29 p.m.•92 views

CVE-2026-102270

The PyJWT library (prior to version 2.14.0 ) is vulnerable to a Regular Expression Denial of Service (ReDoS) in the is_pem_format function. The root cause is extensive backtracking performed by a lazy PEM regular expression when processing certificate-like inputs containing repeated BEGIN markers...

4.9CVSS5.9AI score0.00212EPSS
Save
CVE
CVE
•added 2026/09/28 8:07 p.m.•82 views

CVE-2026-101917

The PyJWT Python library (prior to version 2.14.0 ) is vulnerable to a denial-of-service vector due to how it handles unknown keys in the get_signing_key_from_jwt function. Because the library lacks a negative cache or minimum refresh interval, repeated requests using unknown or varying kid value...

7.5CVSS6AI score0.00418EPSS
Save
CVE
CVE
•added 2026/09/28 8:42 p.m.•75 views

CVE-2026-102274

The PyJWT library (versions 2.9.0 through 2.13.0 ) is vulnerable to a denial-of-service condition due to insufficient handling of exceptional states in RSAAlgorithm.from_jwk. When parsing a JWK Set , a malformed RSA JWK with an invalid d value and missing CRT parameters causes cryptography to rai...

7.5CVSS6.2AI score0.00389EPSS
Save
CVE
CVE
•added 2026/09/28 8:27 p.m.•70 views

CVE-2026-102269

The PyJWT Python library (prior to version 2.14.0 ) is vulnerable to a signature segment decoding issue. The library incorrectly accepts characters outside the canonical Base64URL representation, allowing non-Base64URL characters to be appended to a valid compact JWS signature segment. Because ba...

5.4CVSS6AI score0.00191EPSS
Save
CVE
CVE
•added 2026/09/28 8:46 p.m.•67 views

CVE-2026-102275

The PyJWT Python library (versions 2.1.0 through 2.15.0 ) is vulnerable in the PyJWT.OKPAlgorithm.from_jwk function within jwt/algorithms.py. The root cause is that the private-JWK import path fails to compare the public key derived from d with x . This allows an attacker to provide non-correspon...

8.2CVSS6.7AI score0.00143EPSS
Save
CVE
CVE
•added 2026/09/28 8:23 p.m.•60 views

CVE-2026-102267

The PyJWT library (versions prior to 2.14.0 ) is vulnerable in the PyJWKClient component because it fails to revalidate redirect destinations against the JWKS trust boundary . An attacker who can influence a configured trusted JWKS endpoint's response can trigger a redirect, causing PyJWKClient t...

9.1CVSS5.9AI score0.00159EPSS
Save
CVE
CVE
•added 2026/09/28 8:38 p.m.•54 views

CVE-2026-102273

The PyJWT Python library (versions 2.13.0 through 2.14.0 ) contains a vulnerability in HMACAlgorithm.prepare_key . The flaw occurs because the HMAC key guard fails to recognize container representations, allowing public JWK containers to be accepted as HMAC secrets when an application supports bo...

7.4CVSS6.1AI score0.00175EPSS
Save
CVE
CVE
•added 2026/09/28 8:31 p.m.•53 views

CVE-2026-102271

The PyJWT Python library (versions 2.4.0 through 2.14.0 ) is vulnerable in the HMACAlgorithm.prepare_key function. The root cause is that the asymmetric-key guard relies on textual markers that are missing from DER encoding . When an application mixes HMAC and asymmetric algorithms and provides a...

7.4CVSS7.2AI score0.0018EPSS
Save
CVE
CVE
•added 2026/09/30 9:15 p.m.•52 views

CVE-2026-103001

The PyJWT library (versions 2.11.0 through 2.13.0 ) contains a vulnerability where the PyJWT._merge_options() method modifies a caller-supplied mutable options mapping when verify_signature is set to false . If an application reuses this same mapping for subsequent decode() or decode_complete() c...

6.5CVSS6.6AI score0.00241EPSS
Save
CVE
CVE
•added 2026/09/28 8:36 p.m.•51 views

CVE-2026-102272

The PyJWT library (versions 2.13.0 up to 2.14.0) contains a vulnerability in the HMACAlgorithm.prepare_key function within jwt/algorithms.py. The root cause is that the raw-JWK detector fails to normalize accepted Unicode byte-order marks (BOM) before performing JSON checks. When a public JWK is ...

7.4CVSS7.2AI score0.00182EPSS
Save
CVE
CVE
•added 2026/09/28 8:21 p.m.•48 views

CVE-2026-102266

The PyJWT library (Python implementation of JSON Web Token standards) is vulnerable in versions 2.13.0 through 2.14.0 due to a flaw in the HMACAlgorithm.from_jwk method. The PyJWK verification path fails to apply prepare_key validation when a trusted JWK Set contains an oct entry with an empty k ...

9.1CVSS7.3AI score0.00182EPSS
Save